package com.sunda.spmscommon.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * MQ系统日志表
 * </p>
 *
 * @author Wayne
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_LOG_MQ")
@ApiModel(value="SysLogMq对象", description="MQ系统日志表")
public class SysLogMq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "MQ日志表自增ID")
    @TableField("LOG_AUTO_ID")
    private Integer logAutoId;

    @ApiModelProperty(value = "唯一UUID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "日志类型（1发送MQ日志，2接收MQ日志，3发送rest请求，4接收rest请求）")
    @TableField("LOG_TYPE")
    private String logType;

    @ApiModelProperty(value = "接口名称")
    @TableField("REQUEST_INTERFACE")
    private String requestInterface;

    @ApiModelProperty(value = "功能描述")
    @TableField("REQUEST_DESC")
    private String requestDesc;

    @ApiModelProperty(value = "FunctionId")
    @TableField("FUNCTION_ID")
    private String functionId;

    @ApiModelProperty(value = "请求参数")
    @TableField("REQUEST_PARAM")
    private String requestParam;

    @ApiModelProperty(value = "接收内容")
    @TableField("RECEIVED_MESSAGE")
    private String receivedMessage;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "创建人工号")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;


}
